package com.xyht.sca_s.student_manage_system.modules.rxRegistration.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.RxRegistrationPlanSetting;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.req.RxRegistrationChargeCategoryReq;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.req.RxRegistrationPlanDetailSettingReq;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.req.RxRegistrationPlanSettingReq;

/**
 * <p>
 * 招生计划设置 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-05-07
 */
public interface RxRegistrationPlanSettingService extends IService<RxRegistrationPlanSetting> {
    ResponseResult addRxRegistrationPlanSetting(RxRegistrationPlanSettingReq settingReq, String userId);
    ResponseResult updateRxRegistrationPlanSetting(RxRegistrationPlanSettingReq settingReq);
    ResponseResult deleteRxRegistrationPlanSetting(RxRegistrationPlanSettingReq settingReq);
    ResponseResult getRxRegistrationPlanSettingList(String searchStr,Integer status, Integer pageNum, Integer pageSize);
    ResponseResult addAndUpdateRxRegistrationPlanDetailSetting(RxRegistrationPlanDetailSettingReq appSettingReq);
    ResponseResult getRxRegistrationPlanDetailSetting(Integer appType, String planId);

    ResponseResult getSuccessStatement(String idCard, Integer appType);

    /**
     * @description 校验收费项主项是否存在其他阶段中
     *
     * @create 2024/5/22
     * @author dxn
     */
    ResponseResult checkRxRegistrationChargeCategory(String chargeCategoryId, String planId);
}
